import "../base/request.dart";

// 详情页请求类
class DetailRequest extends BaseRequest {
  DetailRequest(String uid) {
    this.uid = uid;
    this
      ..setHeader('fa', 'course-flag')
      ..setHeader('ZmEtMjAyMS0wNC0xMiAyMToyMjoyMC1mYQ==fa', 'auth-token');
  }

  String uid; // 视频请求uid

  @override
  bool get isHttps => true;

  @override
  SupportMethods get method => SupportMethods.GET;

  @override
  bool get needLogin => true;

  @override
  String get path => "detail/$uid";

  @override
  String get route => "uapi/fa";
}
